package annotation;

import service.JwtService;

import java.lang.annotation.*;

/**
 * @program: pdd
 * @description: jwt检查注解
 * @create: 2020-11-15 13:33
 **/
@Target(ElementType.METHOD) // 修饰范围
@Retention(RetentionPolicy.RUNTIME) // 用来描述注解的声明周期
@Documented
public @interface JwtCheck {
    String role() default "role";
}
